package com.dy.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @Author: dy
 * @date: 2024/5/7 14:35
 * @ClassDescription:
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class WagesPageDTO extends BasePageDTO{

    /**
     * 名称
     */
    private String name;

    /**
     * 记录开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate recordDateStart;

    /**
     * 记录结束日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate recordDateEnd;
}
